Skip to content

Conversation

@akx
Copy link
Contributor

@akx akx commented Jul 26, 2023

Quoth the documentation:

To use a CODEOWNERS file, create a new file called CODEOWNERS in the root, docs/, or .github/ directory of the repository, in the branch where you'd like to add the code owners.

A CODEOWNERS in .github/workflows has no effect AFAIU.

@palp
Copy link
Contributor

palp commented Jul 26, 2023

Quoth the documentation:

To use a CODEOWNERS file, create a new file called CODEOWNERS in the root, docs/, or .github/ directory of the repository, in the branch where you'd like to add the code owners.

A CODEOWNERS in .github/workflows has no effect AFAIU.

Yep, this was misplaced, thanks. Intended to be in .github but root is fine.

palp
palp previously approved these changes Jul 26, 2023
@akx
Copy link
Contributor Author

akx commented Jul 26, 2023

@palp Inference tests fail because externals such as yours truly don't have access to secrets (as is well and proper), so run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints ends up being just ln -s checkpoints:

Screenshot 2023-07-26 at 18 19 35

For now, you may want to make the inference tests only run when the secret is available, with e.g.

if: github.repository == 'stability-ai/generative-models' && secrets.SGM_CHECKPOINTS_PATH

(syntax might not be exactly that, can't remember) in the job's if:.

@palp
Copy link
Contributor

palp commented Jul 26, 2023

@palp Inference tests fail because externals such as yours truly don't have access to secrets (as is well and proper), so run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints ends up being just ln -s checkpoints:

Screenshot 2023-07-26 at 18 19 35

For now, you may want to make the inference tests only run when the secret is available, with e.g.

if: github.repository == 'stability-ai/generative-models' && secrets.SGM_CHECKPOINTS_PATH

(syntax might not be exactly that, can't remember) in the job's if:.

This doesn't actually need to be secret, so now it's in vars; want to swap it here to make sure it works?

@akx
Copy link
Contributor Author

akx commented Jul 26, 2023

@palp

This doesn't actually need to be secret, so now it's in vars; want to swap it here to make sure it works?

Erm..? (reference on main)

run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints

@palp
Copy link
Contributor

palp commented Jul 26, 2023

@palp

This doesn't actually need to be secret, so now it's in vars; want to swap it here to make sure it works?

Erm..? (reference on main)

run: ln -s ${{secrets.SGM_CHECKPOINTS_PATH}} checkpoints

run: ln -s ${{vars.SGM_CHECKPOINTS_PATH}} checkpoints should work instead now

@akx akx requested a review from palp July 26, 2023 15:35
@akx
Copy link
Contributor Author

akx commented Jul 26, 2023

@palp No dice on the CI change, same result.

@palp
Copy link
Contributor

palp commented Jul 26, 2023

@palp No dice on the CI change, same result.

Ok, we can merge this, I'll deal with the CI issue.

@palp palp merged commit c60c091 into Stability-AI:main Jul 26, 2023
LinearFalcon pushed a commit to LinearFalcon/generative-models that referenced this pull request Jul 6, 2024
* Move CODEOWNERS so it has an effect

* CI: use vars.SGM_CHECKPOINTS_PATH
SevanBrodjian pushed a commit to SevanBrodjian/sd-latent-exploration that referenced this pull request Aug 12, 2024
* Move CODEOWNERS so it has an effect

* CI: use vars.SGM_CHECKPOINTS_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants